package com.bite.springblog.service;

import com.bite.springblog.pojo.daoobject.BlogInfo;
import com.bite.springblog.pojo.request.BlogInfoRequest;
import com.bite.springblog.pojo.request.UpdateBlogRequest;
import com.bite.springblog.pojo.response.BlogResponse;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BlogService {
    List<BlogResponse> getBolgList();

    BlogResponse getBlogDetail(String blogId);

    boolean addBolg(BlogInfoRequest blogInfoRequest);

    boolean updateBlog(UpdateBlogRequest updateBlogRequest);

    boolean deleteBlog(String blogId);
}
